export const crmRouters = [
	{
		title: '客户关系管理',
		icon: '/static/crm/customer_title.png',
		requiresAuth: true,
		type: 'crm',
		children: [
			{
				title: '代办事项',
				url: '/pages/customerManagement/todoList/todoList',
				requiresAuth: true,
				authType: 'message',
				// 用来判断请求接口的字段，自己起的名字
				argType: 'message',
				icon: '/static/icon/dbsx.png'
			},
			{
				title: '全部客户',
				url: '/pages/customerManagement/customer/customerIndex',
				requiresAuth: true,
				authType: 'customer',
				argType: 'all',
				icon: '/static/icon/qbkh.png'
			},
			{
				title: '潜在客户阶段',
				url: '/pages/customerManagement/customer/customerIndex',
				requiresAuth: true,
				authType: 'leads',
				argType: 'leads',
				icon: '/static/icon/qzkhjd.png'
			},
			{
				title: '目标客户阶段',
				url: '/pages/customerManagement/customer/customerIndex',
				requiresAuth: true,
				authType: 'customer',
				argType: 'target',
				icon: '/static/icon/mbkhjd.png'
			},
			{
				title: '公海',
				url: '/pages/customerManagement/customer/customerIndex',
				requiresAuth: true,
				authType: 'pool',
				argType: 'pool',
				icon: '/static/icon/gh.png'
			},
			{
				title: '我的日志',
				url: '/pages/customerManagement/followRecord/followRecordIndex',
				requiresAuth: true,
				authType: 'followRecord',
				argType: 'followRecord',
				icon: '/static/icon/wdrz.png'
			},
			{
				title: '联系人',
				url: '/pages/customerManagement/contacts/contactsIndex',
				requiresAuth: true,
				authType: 'contacts',
				argType: 'contacts',
				icon: '/static/icon/lxr.png'
			},
			{
				title: '报价组合管理',
				url: '/pages/customerManagement/quotationComb/quotationComb',
				requiresAuth: true,
				authType: 'quotationComb',
				argType: 'quotationComb',
				icon: '/static/icon/bjzhgl.png'
			},
			{
				title: '仪表盘',
				url: '/pages/customerManagement/workbench/workbench',
				requiresAuth: true,
				authType: 'workbench',
				argType: 'workbench',
				icon: '/static/icon/ybp.png'
			},
			{
				title: '物料查询',
				url: '/pages/psi/storehouse/storehouse',
				requiresAuth: true,
				authType: 'storehouse',
				argType: 'storehouse',
				icon: '/static/icon/wlcx.png'
			},
		]
	},
	{
		title: '商机管理',
		icon: '/static/crm/sjgl.png',
		requiresAuth: true,
		children: [
			{
				title: '全部商机',
				url: '/pages/customerManagement/business/business',
				requiresAuth: true,
				authType: 'business',
				argType: 'all',
				icon: '/static/icon/qbsj.png'
			},
			{
				title: '销售商机阶段',
				url: '/pages/customerManagement/business/business',
				requiresAuth: true,
				authType: 'business',
				argType: 'business1',
				icon: '/static/icon/xssjjd.png'
			},
			{
				title: '技术方案阶段',
				url: '/pages/customerManagement/business/business',
				requiresAuth: true,
				authType: 'business',
				argType: 'business3',
				icon: '/static/icon/jsfajd.png'
			},
			{
				title: '订单合同阶段',
				url: '/pages/customerManagement/business/business',
				requiresAuth: true,
				authType: 'business',
				argType: 'business6',
				icon: '/static/icon/ddhtjd.png'
			},
			{
				title: '设备清单',
				url: '/pages/customerManagement/preSales/preSales',
				requiresAuth: true,
				authType: 'preSales',
				argType: 'preSales',
				icon: '/static/icon/sbqd.png'
			},
			{
				title: '报价清单',
				url: '/pages/customerManagement/quotation/quotation',
				requiresAuth: true,
				authType: 'quotation',
				argType: 'quotation',
				icon: '/static/icon/bjqd.png'
			},
			{
				title: '合同清单',
				url: '/pages/customerManagement/contract/contract',
				requiresAuth: true,
				authType: 'contract',
				argType: 'contract',
				icon: '/static/icon/htqd.png'
			},
		]
	},
]
